package com.ybox.crawler.process.entity;

import com.ybox.crawler.domain.core.parse.ParseItem;
import com.ybox.crawler.domain.enums.CrawlerEnum;
import java.util.List;

/**
 * 流程数据
 * @author 16554
 */
public class ProcessFlowData {
    /**
     * 抓取对象列表
     */
    private List<ParseItem> parseItemList;

    /**
     * 处理类型
     */
    private CrawlerEnum.HandelType handelType = CrawlerEnum.HandelType.FORWARD;

    /**
     * 爬虫类型
     */
    private CrawlerEnum.CrawlerType crawlerType = CrawlerEnum.CrawlerType.CSDN;

    /**
     * 自定义url
     */
    private String customUrl;


    public List<ParseItem> getParseItemList() {
        return parseItemList;
    }

    public void setParseItemList(List<ParseItem> parseItemList) {
        this.parseItemList = parseItemList;
    }


    public CrawlerEnum.HandelType getHandelType() {
        return handelType;
    }

    public void setHandelType(CrawlerEnum.HandelType handelType) {
        this.handelType = handelType;
    }

    public String getCustomUrl() {
        return customUrl;
    }

    public void setCustomUrl(String customUrl) {
        this.customUrl = customUrl;
    }

    public CrawlerEnum.CrawlerType getCrawlerType() {
        return crawlerType;
    }

    public void setCrawlerType(CrawlerEnum.CrawlerType crawlerType) {
        this.crawlerType = crawlerType;
    }

}
